<template>
    <div class="wuzi">
        <img src="../../assets/image/wuzi.png" alt="" width="100%">

        <div class="wrapper">
            <van-tabs v-model="active" animated>
                <van-tab v-for="item in arr" :title="item.title" :key="item.title">
                    <img :src="item.img" alt="" width="100%">
                </van-tab>
            </van-tabs>
        </div>
    </div>
</template>

<script>
    import img1 from '../../assets/image/jiujing.png'
    import img2 from '../../assets/image/kouzhao.png'
    export default {
        name: "Prevention",
        data() {
            return {
                active:0,
                arr: [
                    {
                        img: img1,
                        title: '消毒剂'
                    },
                    {
                        img: img2,
                        title: '口罩'
                    }
                ]
            }
        }
    }
</script>

<style scoped>

</style>
